package com.ruoyi.system.domain;

import java.util.Date;

import com.ruoyi.common.base.BaseEntity;

/**
 * 消息列表 hatchet_message
 * 
 * @author ruoyi
 * @date 2019-03-27
 */
public class HatchetMessage extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 注释 */
	private String id;
	/**  */
	private String title;
	/** 消息主题 */
	private String msg;
	/**  */
	private String type;
	/** 已读未读 */
	private String isread;
	/** 主体用户id */
	private String userid;
	/** 当前用户电话 */
	private String subUserPhone;
	/** 当前用户id */
	private String subUserId;
	/**  */
	private Date time;
	/**  */
	private String r1;
	/**  */
	private String r2;
	/**  */
	private String r3;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setMsg(String msg) 
	{
		this.msg = msg;
	}

	public String getMsg() 
	{
		return msg;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setIsread(String isread) 
	{
		this.isread = isread;
	}

	public String getIsread() 
	{
		return isread;
	}
	public void setUserid(String userid) 
	{
		this.userid = userid;
	}

	public String getUserid() 
	{
		return userid;
	}
	public void setSubUserPhone(String subUserPhone) 
	{
		this.subUserPhone = subUserPhone;
	}

	public String getSubUserPhone() 
	{
		return subUserPhone;
	}
	public void setSubUserId(String subUserId) 
	{
		this.subUserId = subUserId;
	}

	public String getSubUserId() 
	{
		return subUserId;
	}
	public void setTime(Date time) 
	{
		this.time = time;
	}

	public Date getTime() 
	{
		return time;
	}
	public void setR1(String r1) 
	{
		this.r1 = r1;
	}

	public String getR1() 
	{
		return r1;
	}
	public void setR2(String r2) 
	{
		this.r2 = r2;
	}

	public String getR2() 
	{
		return r2;
	}
	public void setR3(String r3) 
	{
		this.r3 = r3;
	}

	public String getR3() 
	{
		return r3;
	}

	public HatchetMessage(String id, String title, String msg, String type, String isread, String userid,
			String subUserPhone, String subUserId, Date time, String r1, String r2, String r3) {
		super();
		this.id = id;
		this.title = title;
		this.msg = msg;
		this.type = type;
		this.isread = isread;
		this.userid = userid;
		this.subUserPhone = subUserPhone;
		this.subUserId = subUserId;
		this.time = time;
		this.r1 = r1;
		this.r2 = r2;
		this.r3 = r3;
	}
	
	@Override
	public String toString() {
		return "HatchetMessage [id=" + id + ", title=" + title + ", msg=" + msg + ", type=" + type + ", isread="
				+ isread + ", userid=" + userid + ", subUserPhone=" + subUserPhone + ", subUserId=" + subUserId
				+ ", time=" + time + ", r1=" + r1 + ", r2=" + r2 + ", r3=" + r3 + "]";
	}

	public HatchetMessage() {
	}
    
}
